package com.onLineCar.manages.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.onLineCar.manages.pojo.CarModel;
import com.baomidou.mybatisplus.extension.service.IService;
import com.onLineCar.manages.pojo.request.CarModelRequest;

/**
 * <p>
 * 车型表 服务类
 * </p>
 *
 * @author zhucaiyi
 * @since 2023-12-10
 */
public interface CarModelService extends IService<CarModel> {

    Boolean addCarModel(CarModel carModel);

    IPage<CarModel> queryCarModel(CarModelRequest carModelRequest);

    CarModel queryCarModelById(Long id);

    Boolean UpdateCarModel(CarModel carModel);

    Boolean deleteCarModelById(Long id);
}
